import CodeMirror from "@uiw/react-codemirror";
import { python } from "@codemirror/lang-python";
import { vscodeDark } from "@uiw/codemirror-theme-vscode";
export default function PyEditor() {
  const pythonLang = 'print("hello world")';
  return (
    <>
      <CodeMirror
        height="100vh"
        width="50vw"
        value={pythonLang}
        theme={vscodeDark}
        extensions={python()}
      ></CodeMirror>
    </>
  );
}
